//
//  SwipperCollectionViewCell.swift
//  VastSwift
//
//  Created by BestVast on 2021/5/29.
//

import UIKit

class SwipperCollectionViewCell: UICollectionViewCell {
     
    var logoImage: UIImageView!
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        uiConfig()
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    func uiConfig() {
        self.backgroundColor = .white
        logoImage = UIImageView.init()
        logoImage.frame = CGRect.init(x: 0, y: 0, width: self.frame.size.width, height: self.frame.size.height)
        logoImage.backgroundColor = .white
        logoImage.layer.cornerRadius = 5
        logoImage.layer.masksToBounds = true
        self.contentView.addSubview(logoImage)
    }
}
